package com.bt.lms.entity;

import java.util.List;

/**
 * 教学计划信息
 * @author 李舒淇
 */
public class TeachingPlanBasicInfo {

    /**
     * ID
     */
    private Long ID;

    /**
     * 计划编号
     * @reqRule 必填，文本，小
     */
    private String code;

    /**
     * 教学计划名称
     * @reqRule 必填，文本，小
     */
    private String name;

    /**
     * 所属的学习中心
     * 1是北京大学，2是北京师范大学
     * @reqRule 必填，单 限选项(选择所属的学习中心，北京师范大学) 默认值：
     */
    private Integer learningCenter;

    /**
     * 适用层次
     * 1是高中，2是大专，3是本科
     *  @reqRule 必填，单 限选项(高中，大专，本科) 默认值:高中
     */
    private Integer applyLevel;

    /**
     * 学制
     * @reqRule 必填，文本，小（必须填写数字）
     */
    private Integer lengthOfSchoolingText;

    /**
     * 学制
     * 1是年，2是月，3是学时
     *  @reqRule 必填，单 限选项(年，月，学时)
     */
    private Integer lengthOfSchooling;

    /**
     * 可重修次数
     *  @reqRule 非必填，文本，不能 > 3
     */
    private Integer numberOfRepairableTimes;

    /**
     * 状态
     * 1：草稿，2：已启用，3：已完成
     *  @reqRule 必填，单 限选项(草稿，已启用，已完成) 默认值：草稿
     */
    private Integer status;

    /**
     * 关联课程数
     *  @reqRule 必填，文本，小
     */
    private Integer relCourseQuantity;

    /**
     * 当前学期
     *  @reqRule 必填，文本，小
     */
    private String currentTerm;


    //-------关系

    /**
     * 专业
     */
    private Major majorInfo;

    /**
     * 招生计划
     */
    private List<EnrollmentPlan> enrollmentPlans;

    //--------外键------

    /**
     *  专业id
     * @return
     */
    private Long majorId;



    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLearningCenter() {
        return learningCenter;
    }

    public void setLearningCenter(Integer learningCenter) {
        this.learningCenter = learningCenter;
    }

    public Integer getApplyLevel() {
        return applyLevel;
    }

    public void setApplyLevel(Integer applyLevel) {
        this.applyLevel = applyLevel;
    }



    public Integer getLengthOfSchooling() {
        return lengthOfSchooling;
    }

    public void setLengthOfSchooling(Integer lengthOfSchooling) {
        this.lengthOfSchooling = lengthOfSchooling;
    }

    public Integer getNumberOfRepairableTimes() {
        return numberOfRepairableTimes;
    }

    public void setNumberOfRepairableTimes(Integer numberOfRepairableTimes) {
        this.numberOfRepairableTimes = numberOfRepairableTimes;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRelCourseQuantity() {
        return relCourseQuantity;
    }

    public void setRelCourseQuantity(Integer relCourseQuantity) {
        this.relCourseQuantity = relCourseQuantity;
    }

    public String getCurrentTerm() {
        return currentTerm;
    }

    public void setCurrentTerm(String currentTerm) {
        this.currentTerm = currentTerm;
    }

    public Major getMajorInfo() {
        return majorInfo;
    }

    public void setMajorInfo(Major majorInfo) {
        this.majorInfo = majorInfo;
    }

    public List<EnrollmentPlan> getEnrollmentPlans() {
        return enrollmentPlans;
    }

    public void setEnrollmentPlans(List<EnrollmentPlan> enrollmentPlans) {
        this.enrollmentPlans = enrollmentPlans;
    }

    public Long getID() {
        return ID;
    }

    public void setID(Long ID) {
        this.ID = ID;
    }

    public Integer getLengthOfSchoolingText() {
        return lengthOfSchoolingText;
    }

    public void setLengthOfSchoolingText(Integer lengthOfSchoolingText) {
        this.lengthOfSchoolingText = lengthOfSchoolingText;
    }

    public Long getMajorId() {
        return majorId;
    }

    public void setMajorId(Long majorId) {
        this.majorId = majorId;
    }
}
